package com.springsecurity.data.repositories;

import com.springsecurity.data.domains.AttributeObjectType;
import java.util.List;
import org.springframework.data.repository.CrudRepository;

/**
 *
 * @author Evgeny Obednin
 */
public interface AttributeObjectTypeRepository 
        extends CrudRepository<AttributeObjectType, Integer> {
    
    public List<AttributeObjectType> findByAttributeId(Integer attributeId);
    
    public List<AttributeObjectType> findByObjectTypeId(Integer objectTypeId);
    
}
